import tabBar from "@/components/tabBar.vue"
let myPlugins={}

myPlugins.install=(Vue)=>{
    Vue.component("tabBar",tabBar)//菜单栏组件

    Vue.prototype.$filterImage=(url)=>{
        return url.replace("http://oa.ossjk.cn", "http://imgs.ossjk.cn")
    }

    Vue.filter("toFixed",(result)=>{
        return result.toFixed(2)
    })

    Vue.filter("rmb",(result)=>{
        return "￥"+result
    })

}

export default myPlugins